﻿using System.Windows.Forms;
using Landpy.CruiseControlNet.FacadeInterface.ConfigurationModule;

namespace Landpy.CruiseControlNet.ConfigurationSidekick.ConfigTreeModule
{
    struct ChildrenNodeContext
    {
        public TreeNode SelectedNode { get; private set; }
        public string ChangedValueKey { get; private set; }
        public CruiseControl CruiseControl { get; private set; }

        public ChildrenNodeContext(TreeNode selectedNode, string changedValueKey, CruiseControl cruiseControl)
            : this()
        {
            this.SelectedNode = selectedNode;
            this.ChangedValueKey = changedValueKey;
            this.CruiseControl = cruiseControl;
        }
    }
}